package com.mind.quest;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 *TODO 任务分--日常任务，主线任务等。
 *
 */
public class QuestConfig {
	private Map<Integer, IQuest> quests=new HashMap<Integer, IQuest>();
	private Map<Integer,IEvent > events=new HashMap<Integer, IEvent>();
	private Map<Integer, ICondition> conditions=new HashMap<Integer, ICondition>();
	private  Map<Integer, List<Integer>> event2Targets=new HashMap<Integer, List<Integer>>();
	private  Map<Integer, List<Integer>> event2Condition=new HashMap<Integer, List<Integer>>();
	/**key：事件id  value:任务id---该任务的条件有关系 */
	private  Map<Integer, List<Integer>> event2QuestCondition=new HashMap<Integer, List<Integer>>();
	/**key：事件id  value:任务id---该任务的目标有关系 */
	private  Map<Integer, List<Integer>> event2QuestTarget=new HashMap<Integer, List<Integer>>();
	public void init(){
	}
	public Map<Integer, IQuest> getQuests() {
		return quests;
	}
	public Map<Integer, IEvent> getEvents() {
		return events;
	}
	public Map<Integer, ICondition> getConditions() {
		return conditions;
	}
	public Map<Integer, List<Integer>> getEvent2Targets() {
		return event2Targets;
	}
	public Map<Integer, List<Integer>> getEvent2Condition() {
		return event2Condition;
	}
	public Map<Integer, List<Integer>> getEvent2QuestCondition() {
		return event2QuestCondition;
	}
	public Map<Integer, List<Integer>> getEvent2QuestTarget() {
		return event2QuestTarget;
	}
	
	
	
	
}
